/*
 * @Author: liuYang codkly@gmail.com
 * @Date: 2022-12-06 16:48:36
 * @LastEditors: liuYang codkly@gmail.com
 * @LastEditTime: 2022-12-07 09:20:19
 * @FilePath: \coding\nest\blog_alpha\src\article\article.module.ts
 * @Description:
 * 暂无备注
 */
import { Module } from '@nestjs/common';
import { ArticleService } from './article.service';
import { ArticleController } from './article.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ArticleEntity } from './article.entity';
import { TagEntity } from '../tag/tag.entity';
@Module({
  imports: [TypeOrmModule.forFeature([ArticleEntity, TagEntity])],
  providers: [ArticleService],
  exports: [ArticleService],
  controllers: [ArticleController],
})
export class ArticleModule {}
